package com.pro.dao;

import com.pro.entity.DictData;
import com.pro.entity.DictDataPlus;
import com.pro.entity.JsLogPlus;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * @ClassName: DictDataMapper
 * @Author: 笑笑
 * @DATE: 2021/11/7
 * @TIME: 下午 08:53
 */
public interface DictDataMapper {
    
    //查看商品操作日志
    List<DictDataPlus> getAllDictData(JsLogPlus dictData);

    //根据id删除商品操作日志
    @Delete("DELETE FROM js_log WHERE log_id = #{id}")
    boolean deleteDictData(Integer id);
}
